package com.chenl.interview.mapper;

import com.chenl.interview.model.entity.Question;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDateTime;
import java.util.List;

/**
* @author chenl
* @description 针对表【question(题目)】的数据库操作Mapper
* @createDate 2024-12-29 15:33:22
* @Entity com.chenl.interview.model.entity.Question
*/
public interface QuestionMapper extends BaseMapper<Question> {

    /**
     * 查询题目列表（包含已逻辑删除）
     * @param ids
     * @return
     */
    @Select("select * from question where id in #{ids};")
    List<Question> listQuestionWithDelete(List<Long> ids);

}




